
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(CBS_TrainRecordUser))]
    public class CBS_TrainRecordUserDto : Dto
    {
        /// <summary>
        /// 培训记录ID
        /// </summary>
        public Guid? CBSTrainRecordId { get; set; }
        /// <summary>
        /// 参与人ID
        /// </summary>
        public Guid? UserId { get; set; }

        public string UserText { get { return CBS_User?.PersonnelName; } }

        public CBS_UserDto CBS_User { get; set; }
    }
}
